package dl.jf.dao.idao.admin;

import java.util.ArrayList;

import dl.jf.common.model.LabelValue;
import dl.jf.common.model.MUser;

public interface IAdminMemberDao {
	ArrayList<LabelValue> getRoleLabelListById(Integer roleId) throws Exception;
	
	MUser getUserListByUserId(String userId) throws Exception;
	
	ArrayList<MUser> getUserListByUser(MUser user) throws Exception;
	
	Integer getUserListByUserTotal(MUser user) throws Exception;
	
	String insertUser(MUser user) throws Exception;
	
	int updateUserByUserId(MUser user) throws Exception;
	
	int deleteUserByUserId(String userId) throws Exception;

//	String getGenerateCode(int code, int len, String prefix)  throws Exception ;
}
